function initLogin(option) {
	thePatternLockObj = new PatternLock("#patternContainer", {
        'onDraw': function (res) {
            if (option && option.onDraw)
                option.onDraw(res);
        }
    });
    
    if(SysState.loginKey){
    	initTitle(option.title ? option.title : 'keepPwd', getVisSize() > 1 && !(option && option.nogb) ? function(){
    		androidCancelUnLock();
    		pageGoBack();
    	} : null);
        androidUnLock();
    }else{
    	initTitle(option.title ? option.title : 'keepPwd', getVisSize() > 1 && !(option && option.nogb) ? pageGoBack : null);
    }
}
